//
//  HYDiscoveryTableViewController.swift
//  WeiBo
//
//  Created by crazyfish on 16/3/10.
//  Copyright © 2016年 crazyfish. All rights reserved.
//

import UIKit

class HYDiscoveryTableViewController: HYVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if userLogon == false{
            
            let v = HYVisitorView()
            v.setpageInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            view = v
            return
            
        }
        
        let searchview = HYDiscoverSearchView.searchView()
        
        navigationItem.titleView = searchview
        
        searchview.frame.size.width = UIScreen.mainScreen().bounds.width
    }

  
}
